﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhp.Model.Sys
{
    public class IndexModel
    {
        public App App { get; set; }
        public User User { get; set; }
        public Menu[] Menu { get; set; }
    }

    public class App
    {
        public string Key { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
    }

    public class User
    {
        public string Key { get; set; }
        public string Name { get; set; }
        public string Avatar { get; set; }
        public string Email { get; set; }
    }

    public class Menu
    {
        public string Text { get; set; }
        public string Link { get; set; }
        public string I18n { get; set; }
        public bool Group { get; set; }
        public bool HideInBreadcrumb { get; set; }
        public string Icon { get; set; }
        public bool ShortcutRoot { get; set; }
        public int Badge { get; set; }
        public Menu[] Children { get; set; }
    }

    public class I18nModel
    {
        public object I18n { get; set; }
    }
}
